package com.example.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Course {

  private Integer courseId;
  private Integer userId;
  private Integer classId;
  private Integer recommend;
  private String courseName;
  private String courseIntro;
  private Integer coursePrice;
  private Integer courseNprice;
  private Integer courseStatus;
  private Integer courseCstatus;
  private String coursePrimary;
  private String url;
  private String courseUrl;
  private String courseInfo;
  private Integer courseNo;
  private Integer courseTime;
  private Integer likeNum;
  private Integer shareNum;
  private Integer collectNum;
  private Integer lookNum;
  private Integer saleNum;
  private Integer id;
  private Integer createId;
//  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private java.sql.Timestamp createDate;
  private Integer updateId;
//  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private java.sql.Timestamp updateDate;
  //所属分类
  private String courseClassName;
  //上传人
  private String username;


}
